﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using F_MODEL;
using F_DAL;

namespace F_BLL
{
   public class BookDetails_bll
    {
       BookDetails_dal dal = new BookDetails_dal();
       /// <summary>
       /// 订单详情
       /// </summary>
       /// <param name="waybid"></param>
       /// <returns></returns>
       public List<UserAddrModel> getmails(string waybid)
       {
           return dal.getmails(waybid);
       }
       /// <summary>
       /// 包裹明细
       /// </summary>
       /// <param name="mailid"></param>
       /// <returns></returns>
       public List<ParcelInfo> getparcel(string mailid)
       {
           return dal.getparcel(mailid);
       }
       /// <summary>
       /// 确认交给飞人，修改状态
       /// </summary>
       /// <param name="waybillId"></param>
       /// <returns></returns>
       public int uptstate(string waybillId)
       {
           return dal.uptstate(waybillId);
       }
    }
}
